package scau.erps.view.dashboard;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

/**
 * 决策数据仪表盘
 * @author DCJ
 *
 */
public class DashBoardDialog extends JDialog{
	private static final long serialVersionUID = 1L;
	public DashBoardDialog(){
		this.setTitle("决策数据仪表盘");
		this.setSize(1024, 720);
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
		JPanel contentPanel = new JPanel();
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);	
		tabbedPane.setPreferredSize(new Dimension(950,700));
		MarketPanel market = new MarketPanel();	
		DevelopmentPanel development = new DevelopmentPanel();
		CompetitionPanel competition = new CompetitionPanel();
		tabbedPane.add(market,"市场预测");
		tabbedPane.add(development,"企业发展");
		tabbedPane.add(competition,"竞争情报");		
		contentPanel.add(tabbedPane, BorderLayout.CENTER);
		this.setContentPane(contentPanel);
		this.setModal(true);
		this.setVisible(true);
	}
}
